﻿using System;
namespace ChinaSoft.Model
{
	/// <summary>
	/// 合同表
	/// </summary>
	[Serializable]
	public partial class Model_tb_MidSoft_Contract
	{
		public Model_tb_MidSoft_Contract()
		{}
		#region Model
		private int _contractid;
		private int _projectinfoid;
		private string _contractnumber;
		private string _contractname;
		private string _unit;
		private decimal _contractmoney;
		private DateTime _confirmdate;
		private string _address;
		private string _filefolder;
		private string _filesavename;
		private string _filename;
		private string _contracttype;
		private DateTime _createtime;
		private int _createuserid;
		private string _paystate= "0";
		/// <summary>
		/// 合同ID
		/// </summary>
		public int ContractId
		{
			set{ _contractid=value;}
			get{return _contractid;}
		}
		/// <summary>
		/// 项目ID
		/// </summary>
		public int ProjectInfoId
		{
			set{ _projectinfoid=value;}
			get{return _projectinfoid;}
		}
		/// <summary>
		/// 合同编号
		/// </summary>
		public string ContractNumber
		{
			set{ _contractnumber=value;}
			get{return _contractnumber;}
		}
		/// <summary>
		/// 合同名称
		/// </summary>
		public string ContractName
		{
			set{ _contractname=value;}
			get{return _contractname;}
		}
		/// <summary>
		/// 签订单位
		/// </summary>
		public string Unit
		{
			set{ _unit=value;}
			get{return _unit;}
		}
		/// <summary>
		/// 合同金额
		/// </summary>
		public decimal ContractMoney
		{
			set{ _contractmoney=value;}
			get{return _contractmoney;}
		}
		/// <summary>
		/// 签订日期
		/// </summary>
		public DateTime ConfirmDate
		{
			set{ _confirmdate=value;}
			get{return _confirmdate;}
		}
		/// <summary>
		/// 地址
		/// </summary>
		public string Address
		{
			set{ _address=value;}
			get{return _address;}
		}
		/// <summary>
		/// 文件上传所在目录
		/// </summary>
		public string FileFolder
		{
			set{ _filefolder=value;}
			get{return _filefolder;}
		}
		/// <summary>
		/// 文件存储GUID值
		/// </summary>
		public string FileSaveName
		{
			set{ _filesavename=value;}
			get{return _filesavename;}
		}
		/// <summary>
		/// 文件上传前客户机上保存名
		/// </summary>
		public string FileName
		{
			set{ _filename=value;}
			get{return _filename;}
		}
		/// <summary>
		/// 合同类型(0表示主包合同，1表示分包合同）
		/// </summary>
		public string ContractType
		{
			set{ _contracttype=value;}
			get{return _contracttype;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 创建人ID号
		/// </summary>
		public int CreateUserId
		{
			set{ _createuserid=value;}
			get{return _createuserid;}
		}
		/// <summary>
		/// 合同状态(0为付款未完成，1为付款完成)
		/// </summary>
		public string PayState
		{
			set{ _paystate=value;}
			get{return _paystate;}
		}
		#endregion Model

	}
}

